package cn.edu.ujn.multiple.model;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Component;
@Component
public class Customer {
    private Integer custId;

    private String custName;

    private Integer custUserId;

    private Integer custCreateId;

    private String custSource;

    private String custIndustry;

    private String custLevel;

    private String custLinkman;

    private String custPhone;

    private String custMobile;

    private String custZipcode;

    private String custAddress;

    private Date custCreatetime;
    
    private Integer start;
    
    private Integer rows;
    
    private User user;
    
    private BaseDict sourceDict;
    
    private BaseDict industryDict;
    
    private BaseDict levelDict;
    
    private List<Orders> orders;//一对多关联

	public Integer getCustId() {
		return custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public Integer getCustUserId() {
		return custUserId;
	}

	public void setCustUserId(Integer custUserId) {
		this.custUserId = custUserId;
	}

	public Integer getCustCreateId() {
		return custCreateId;
	}

	public void setCustCreateId(Integer custCreateId) {
		this.custCreateId = custCreateId;
	}

	public String getCustSource() {
		return custSource;
	}

	public void setCustSource(String custSource) {
		this.custSource = custSource;
	}

	public String getCustIndustry() {
		return custIndustry;
	}

	public void setCustIndustry(String custIndustry) {
		this.custIndustry = custIndustry;
	}

	public String getCustLevel() {
		return custLevel;
	}

	public void setCustLevel(String custLevel) {
		this.custLevel = custLevel;
	}

	public String getCustLinkman() {
		return custLinkman;
	}

	public void setCustLinkman(String custLinkman) {
		this.custLinkman = custLinkman;
	}

	public String getCustPhone() {
		return custPhone;
	}

	public void setCustPhone(String custPhone) {
		this.custPhone = custPhone;
	}

	public String getCustMobile() {
		return custMobile;
	}

	public void setCustMobile(String custMobile) {
		this.custMobile = custMobile;
	}

	public String getCustZipcode() {
		return custZipcode;
	}

	public void setCustZipcode(String custZipcode) {
		this.custZipcode = custZipcode;
	}

	public String getCustAddress() {
		return custAddress;
	}

	public void setCustAddress(String custAddress) {
		this.custAddress = custAddress;
	}

	public Date getCustCreatetime() {
		return custCreatetime;
	}

	public void setCustCreatetime(Date custCreatetime) {
		this.custCreatetime = custCreatetime;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public BaseDict getSourceDict() {
		return sourceDict;
	}

	public void setSourceDict(BaseDict sourceDict) {
		this.sourceDict = sourceDict;
	}

	public BaseDict getIndustryDict() {
		return industryDict;
	}

	public void setIndustryDict(BaseDict industryDict) {
		this.industryDict = industryDict;
	}

	public BaseDict getLevelDict() {
		return levelDict;
	}

	public void setLevelDict(BaseDict levelDict) {
		this.levelDict = levelDict;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public List<Orders> getOrders() {
		return orders;
	}

	public void setOrders(List<Orders> orders) {
		this.orders = orders;
	}

	@Override
	public String toString() {
		return "Customer [custId=" + custId + ", custName=" + custName + ", custUserId=" + custUserId
				+ ", custCreateId=" + custCreateId + ", custSource=" + custSource + ", custIndustry=" + custIndustry
				+ ", custLevel=" + custLevel + ", custLinkman=" + custLinkman + ", custPhone=" + custPhone
				+ ", custMobile=" + custMobile + ", custZipcode=" + custZipcode + ", custAddress=" + custAddress
				+ ", custCreatetime=" + custCreatetime + "]";
	}

}